<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='资源管理-列表',jsPaths='/static/js/system/resources/list.js')">

    <!-- 此div之外，其余内容都会被覆盖-->
    <div class="right" th:fragment="right">
        <!--面包屑-->
        <div class="breadcrumb layui-bg-gray">
            <span class="layui-breadcrumb" lay-separator=">">
                <a href="/">首页</a>
                <a href="">系统设置</a>
                <a href="">資源管理</a>
                <a><cite>列表</cite></a>
            </span>
        </div>

        <!--主体内容区-->
        <div class="page-content">
            <div class="layui-btn-group">
                <a th:href="@{/resources/ui/add}"  class="layui-btn  layui-btn-normal" auth="sys-resources-add">新增</a>
                <a href="javascript:void(0)" class="layui-btn layui-btn-danger" auth="sys-resources-delete" id="deleteAll">批量删除</a>
            </div>
            <table id="demo" lay-filter="test"></table>
        </div>

        <!--模板-->
        <script type="text/template" id="toolbar">
            <a href="javascript:void(0)" class="layui-btn layui-btn-warm layui-btn-xs" lay-event="edit" auth="sys-resources-edit">编辑</a>
            <a href="javascript:void(0)" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete" auth="sys-resources-delete">删除</a>
        </script>
    </div>

</html>